package com.clear.honghefinance.biz.modules.assist_calculate_summary.domain.dto;

import com.clear.honghefinance.common.dto.entity.PageInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 查询辅助核算列表DTO
 */
@Getter
@Setter
public class ListAssistCalculateDTO extends PageInfo implements Serializable {

    @ApiModelProperty(value = "辅助核算类别id")
    @NotNull(message = "请输入辅助核算类别id")
    @Min(value = 1)
    private Long assistCalculateCateId;

    @ApiModelProperty(value = "编码或名称")
    @Size(max = 50, message = "编码或名称长度不能超过50")
    private String codeOrName;
}